<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <script type="text/javascript" src="/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/css/my-css.css" />
    <script type="text/javascript" src="/js/my-js.js" ></script>
    <script type="text/javascript" src="/js/jquery.cookie.js" ></script>
    <script type="text/javascript" src="/js/vue.min.js" ></script>
    <title>Java学习网</title>
</head>
<body>
    <div id="header"></div>
    <script type="text/javascript">moralLoad("#header", "/html/header.html")</script>
    <div class="container">
        <div class="row" id="test" v-cloak>
            <div class="col-xs-offset-1 col-xs-10">
                <ol class="breadcrumb" style="background-color: inherit; margin-bottom: 0;">
                    <li><a href="#">首页</a></li>
                    <li><a href="/tests">在线测试</a></li>
                    <li class="active" v-text="title"></li>
                </ol>
            </div>
            <div class="col-xs-offset-1 col-xs-10 panel panel-default">
                <h3><b v-text="title"></b></h3><hr />
                <h4><b>简介：</b></h4>
                <p v-text="description"></p><br/>
                <div class="well">
                    1、本套试题来源于网上，除非经特别声明，本网站不拥有该资料版权，亦不承担任何法律责任。<br />
2、未经网站或作者的同意不得转载，否则构成侵权，本网站或作者保留诉诸法律的权利。<br />
3、如发现本网站载有侵犯您著作权的侵权信息，可依法向我们提出权利申请。
                </div>
                <a onclick="jump()" class="btn btn-lg btn-success btn-block center-block" style="width: 150px;">开始测试</a>
                <br />
            </div>
        </div>
    </div>
</body>
<script type="text/javascript">
    var test;
    myAjax({
    	type: 'get',
    	url: document.location.pathname,
    	async: false,
    	success: function(data) {test=data}
    });
    new Vue({
        el: "#test",
        data: test
    });
    function jump() {
    	window.location.href = document.location.pathname + '/questions';
    }
</script>
</html>